Skip to content

Docs: fix the suboptions in GroupCreateConfig#7264

Merged
photonstorm merged 1 commit intophaserjs:v4.0.0from
samme:docs/v4.0.0/createMultiple-actions
Apr 9, 2026
Merged

Docs: fix the suboptions in GroupCreateConfig#7264
photonstorm merged 1 commit intophaserjs:v4.0.0from
samme:docs/v4.0.0/createMultiple-actions

Conversation

@samme
Copy link
Copy Markdown
Contributor

@samme samme commented Mar 14, 2026

This PR

  • Updates the Documentation
  • Fixes a bug (TypeScript declarations)

In GroupCreateConfig JSDOC properties like setXY.x were being interpreted as verbatim property names for TypeScript, which was wrong, so I removed all of them.


Note

Low Risk
Low risk: this only updates GroupCreateConfig JSDoc to avoid incorrect TypeScript property inference; no runtime behavior changes.

Overview
Simplifies the Phaser.Types.GameObjects.Group.GroupCreateConfig JSDoc by removing nested sub-properties like setXY.x / setScale.stepX that were being misread as literal TypeScript fields.

The setXY, setRotation, setScale, setOrigin, setAlpha, setDepth, and setScrollFactor entries are now documented as option objects that follow the corresponding Phaser.Actions.* config shapes.

Written by Cursor Bugbot for commit 1ed61aa. This will update automatically on new commits. Configure here.

@photonstorm photonstorm merged commit 08813b9 into phaserjs:v4.0.0 Apr 9, 2026
1 check passed
@photonstorm
Copy link
Copy Markdown
Collaborator

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants